package cn.minimelon.solon.controller.cert;

import cn.minimelon.solon.domain.AjaxResult;
import cn.minimelon.solon.domain.analyze.CompanyGroupCross;
import cn.minimelon.solon.domain.analyze.CompanyGroupMax;
import cn.minimelon.solon.domain.analyze.CompanyGroupQuery;
import cn.minimelon.solon.service.analyze.CompanyAnalyzeService;
import cn.minimelon.solon.service.cert.FirstPushService;
import org.beetl.sql.core.page.PageResult;
import org.noear.solon.annotation.Controller;
import org.noear.solon.annotation.Inject;
import org.noear.solon.annotation.Mapping;
import org.noear.solon.annotation.Post;

import java.util.List;

@Controller
@Mapping("/first/push")
public class FirstPushController {
    @Inject
    private FirstPushService firstPushService;

    @Post
    @Mapping("start")
    public AjaxResult start() {
        firstPushService.startFixedRegInfo();
        return AjaxResult.success(1);
    }
}
